package com.sitech.portal.bigScreen.form;

import com.sitech.portal.bigScreen.domain.TbScreenLogical;

/**
 * Created by Administrator on 2015/4/22.
 */
public class TbScreenLogicalForm {
    private String logicalScreenId;
    private String logicalScreenName;
    private String switchAnimation;
    private String showSeconds;
    private String layout;

    public String getLogicalScreenId() {
        return logicalScreenId;
    }

    public void setLogicalScreenId(String logicalScreenId) {
        this.logicalScreenId = logicalScreenId;
    }

    public String getLogicalScreenName() {
        return logicalScreenName;
    }

    public void setLogicalScreenName(String logicalScreenName) {
        this.logicalScreenName = logicalScreenName;
    }

    public String getSwitchAnimation() {
        return switchAnimation;
    }

    public void setSwitchAnimation(String switchAnimation) {
        this.switchAnimation = switchAnimation;
    }

    public String getShowSeconds() {
        return showSeconds;
    }

    public void setShowSeconds(String showSeconds) {
        this.showSeconds = showSeconds;
    }

    public String getLayout() {
        return layout;
    }

    public void setLayout(String layout) {
        this.layout = layout;
    }

    public TbScreenLogical toDomain(){
        TbScreenLogical tbScreenLogical = new TbScreenLogical();
        tbScreenLogical.setLAYOUT(layout);
        tbScreenLogical.setLOGICAL_SCREEN_ID(logicalScreenId);
        tbScreenLogical.setLOGICAL_SCREEN_NAME(logicalScreenName);
        tbScreenLogical.setSHOW_SECONDS(showSeconds);
        tbScreenLogical.setSWITCH_ANIMATION(switchAnimation);
        return tbScreenLogical;
    }
}
